package com.gae.blore.client;

import java.util.List;

import com.gae.blore.client.domain.RailwayStation;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
/**
 * Interfaces to provide railway station service
 * 
 * @author nss
 * 
 */
@RemoteServiceRelativePath("railwayservice")
public interface RailwayStationService extends RemoteService {
	/**
	 * Retrieves all railway stations
	 * 
	 * @return List of railway stations
	 */
	List<RailwayStation> getAllRailwayStations();
	/**
	 * Retrieves railway station details for the given identifier
	 * 
	 * @param id
	 *            Identifier
	 * @return Railway station details
	 */
	RailwayStation getRailwayStation(Long id);

}
